blur: Fix pixel sizes
authorBenjamin Otte <otte@redhat.com>
Wed, 19 Sep 2012 20:23:47 +0000 (22:23 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 20 Sep 2012 00:45:41 +0000 (02:45 +0200)
commit267d1793c6ebf1d7b2dd0e4814c19ca7a21515d9
treeed867a824ceb0c2125528c9a6032da9b58a3112a
parent1cecaf6d7e0fa539ac23edc0df0be444a6a04ae8
blur: Fix pixel sizes

The code accesses pixels in a chunks of 4 bytes, so we must only support
formats where the size of a single pixel is 4 bytes.
Fix RGB24 to be 4 bytes (the alpha channel is ignored) and disallow A8.
gtk/gtkcairoblur.c